/**
 * admin
 */

import request from '@/utils/request'

// modify password
export function password(data) {
  return request({
    url: '/api/admin/password',
    method: 'post',
    data
  })
}

// clear redis
export function clear(data) {
  return request({
    url: '/api/admin/clear',
    method: 'post',
    data
  })
}
